<?php

return [
    [
        'title' => '基础功能',
        'show' => true, 'icon' => 'fa fa-address-book',
        'items' => [
            ['title' => '直播配置',
                'route' => route('module.config.edit'),
                'permission' => 'config'],
            [
                'title' => '微信关键词',
                'route' => route('module.config.update'),
                'permission' => 'wechat'
            ]

        ]
    ],
    [
        'title' => '直播控制',
        'show' => false,
        'icon' => '',
        'items' => [
            ['title' => '开直播', 'route' => '', 'permission' => 'live'],
            ['title' => '直播间房管', 'route' => '', 'permission' => 'liveAdmins']
        ]
    ],
    [
        'title' => '微信公众号',
        'show' => true,
        'icon' => 'fas fa-weixin',
        'items' => [
            ['title' => '文本消息', 'route' => route('wechat.text.index'), 'permission' => 'wechat.text.index'],
            ['title' => '图文消息', 'route' => route('wechat.news.index'), 'permission' => 'wechat.news.index'],
            ['title' => '素材管理', 'route' => route('wechat.material.index', ['type' => 'image']), 'permission' => 'wechat.material'],

        ]
    ],
];
